<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="/bower_components/bootstrap/css/bootstrap.css">
    <link href="/static/css/controls.css" rel="stylesheet" type="text/css"/>
    <link href="/bower_components/bootstrap-additions/dist/bootstrap-additions.css" rel="stylesheet" type="text/css"/>
    <link href="/static/css/ruleExpression.css" rel="stylesheet" type="text/css"/>
    <script src="/bower_components/requirejs/require.js" data-main="/static/app.js"
            data-bootstrap-modules="'system/unitcase/UnitCaseModule'"></script>
</head>


<body ng-controller="UnitCaseController" class="container">
        <g-data-source url="/grule-manager/unitcases" params="defaultParams" data-source-name="UnitCaseSource" allow-auto-load="true"></g-data-source>
            <div class="page-header">
                <h1>
                    <i class="md md-camera"></i>
                    测试用例管理
                </h1>
                <p class="lead">
                </p>
            </div>

            <div class="row">
                <div class="col-md-10">
                    <button class="btn btn-default"><span class="glyphicon glyphicon-search"/>&nbsp;查询</button>
                    <button class="btn btn-default" ng-click="actions.showAddView()"><span class="glyphicon glyphicon-plus"/>&nbsp;新增</button>
                </div>
                <div class="col-md-10">
                    <br>
                </div>
            </div>
            <div class="row" id="edit-content">
                <div class="col-md-10">
                    <g-data-grid data-source-name="UnitCaseSource" g-height="300"
                                 ng-cloak>
                        <g-column width="450px">
                            操作
                            <g-column-tmpl>
                                <a href="javascript:" ng-click="actions.remove(row)"><span class="glyphicon glyphicon-remove"
                                                                                                aria-hidden="true"></span>&nbsp;&nbsp;删除</a>
                                <a href="javascript:" ng-click="actions.showUpdateView(row)"><span
                                        class="glyphicon glyphicon-edit" aria-hidden="true"></span>&nbsp;&nbsp;修改</a>
                                <a href="javascript:" ng-click="actions.showDetail(row)">
                                    <span class="glyphicon glyphicon-folder-open" aria-hidden="true"></span>&nbsp;&nbsp;查看</a>

                                <a href="javascript:" ng-click="actions.paramsManager(row)">
                                    <span class="glyphicon glyphicon-random" aria-hidden="true"></span>&nbsp;&nbsp;入参管理</a>

                                <a href="javascript:" ng-click="actions.mockManager(row)">
                                    <span class="glyphicon glyphicon-screenshot" aria-hidden="true"></span>&nbsp;&nbsp;Mock管理</a>

                                <a href="javascript:" ng-click="actions.expectManager(row)">
                                    <span class="glyphicon glyphicon-eye-open" aria-hidden="true"></span>&nbsp;&nbsp;期望管理</a>

                            </g-column-tmpl>
                        </g-column>
                        <g-column width="100" data="unitCaseName">
                            用例名称
                        </g-column>
                        <g-column width="100" data="groupId">
                            工程ID
                        </g-column>
                        <g-column width="200" data="artifactId">
                            项目ID
                        </g-column>
                        <!--<g-column width="50" data="createUser">
                            创建人
                        </g-column>
                        <g-column width="100" data="createTime">
                            创建时间
                        </g-column>
                        <g-column width="50" data="updateUser">
                            更新人
                        </g-column>
                        <g-column width="150" data="updateTime">
                            更新时间
                        </g-column>-->
                </g-data-grid>
    </div>
</div>
</body>
</html>